package com.project.AOP;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName: HasRole
 * Package: com.project.AOP
 * Description:  权限校验
 *
 * @Author 看到风
 * @Create 2023/10/20 21:55
 * @Version 1.0
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)//自定义注解
public @interface HasRole {
   int value();
}
